#include <stdio.h>
#include <stdbool.h>
int main(void)
{
	int a, b;
	printf("Please input two numbers\n");
	scanf_s("%d%d", &a, &b);
	printf("Enter a 24-hour time:%d:%d\n", a, b);
	if (a >= 12)
		printf("Equivalent 12-hour time :%d:%d", a - 12, b);
	else
		printf("Equivalent 12-hour time :%d:%d", a, b);
		




}